有声听书网[听].js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. var rule = {
  2. 类型: '听书',//影视|听书|漫画|小说
  3. title: '有声听书网[听]',
  4. host: 'https://www.ysts.cc/',
  5. url: '/book/fyclass/lastupdate/fypage.html',
  6. searchUrl: '/search.html?searchtype=name&searchword=**&page=fypage',
  7. searchable: 2,
  8. quickSearch: 0,
  9. filterable: 1,
  10. filter: '',
  11. filter_url: '',
  12. filter_def: {},
  13. headers: {
  14. 'User-Agent': 'PC_UA',
  15. },
  16. timeout: 5000,
  17. class_parse: '.nav-ol li;a&&Text;a&&href;.*/(.*?)\/lastupdate',
  18. cate_exclude: '',
  19. play_parse: true,
  20. lazy: $js.toString(() => {
  21. input = {parse: 1, url: input, js: ''};
  22. }),
  23. double: true,
  24. //推荐:'列表1;列表2;标题;图片;描述;链接;详情',
  25. 一级: '.list-works li;a&&title;img&&data-original;span&&Text;a&&href;dd&&Text',
  26. 二级: {
  27. title: '.content&&a&&title;.content&&a:eq(1)&&Text',
  28. img: '.content&&img&&data-original',
  29. desc: '主要信息;.content&&dd:eq(3)&&Text;地区;.content&&dd:eq(4)&&Text;导演',
  30. content: '.content&&.book-des&&Text',
  31. tabs: '.playlist-top&&h2',
  32. //tabs: '.chapter-list-block&&li',
  33. // 列表有分页,暂时解决不了。这种老6网站
  34. lists: '.playlist&&li',
  35. tab_text: 'body&&Text',
  36. list_text: 'body&&Text',
  37. list_url: 'a&&href',
  38. list_url_prefix: '',
  39. },
  40. 搜索: '.list-works li;*;*;*;*;详情',
  41. }